<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新闻详情</title>
		<link rel="stylesheet" type="text/css" href="static/project/css/style.css"/>
		<link rel="stylesheet" type="text/css" href="static/project/css/news-detail.css"/>
	</head>
	<body>
<!--页头部分-->
<?php include('app/index/public/html/_header.html');?>
	<!--banners图-->
		<div class="banners">
				<img src="<?php echo $banner['file'];?>"/>
		</div>
		<div class="min">
			<div class="container">
				<div class="title">
					<ul>
						<?php foreach($nav as $k=>$v){?>
							<?php if($cate == $v['Id']){?>
								<li class="current"><a href="index.php?a=index&b=news&c=news&cate=<?php echo $v['Id']?>"><?php echo $v['name']?></a></li>
							<?php }else{?>
								<li><a href="index.php?a=index&b=news&c=news&cate=<?php echo $v['Id']?>"><?php echo $v['name']?></a></li>
							<?php }?>
						<?php }?>
					</ul>
				</div>
				<p class="loction"><a href="index.php?a=index&b=index&c=index">首页></a><a href="index.php?a=index&b=news&c=news">新闻中心></a><a href="index.php?a=index&b=news&c=news">公司新闻></a><a href="#">赫尔诺春季拔河比赛落幕</a></p>
				<div class="group">
					<h3><?php echo $news['title'];?></h3>
					<p><?php echo $news['author'];?><span>日期：<?php echo date('Y/m/d',$news['time']);?></span></p>
				</div>	
					<img src="<?php echo $news['file'];?>"/>
					<div class="text">
						<?php echo $news['content'];?>
						<div class="filp">
							
							<!--翻页-->
					        <?php if($i==1){?>
					        <a href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $newspages['Id']?>" target="_self" title="上一篇"><span>上一篇</span><?php echo $newspages['title']?></a>
					        <?php }else{?>
					        <a target="_self" title="上一篇"><span>上一篇</span>无</a>
					        <?php }?>
				        	<br />
					        <?php if($j==1){?>
					        <a href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $newspage['Id']?>" target="_self" title="下一篇"><span>下一篇</span><?php echo $newspage['title']?></a>
					    	<?php }else{?>
					    	<a target="_self" title="下一篇"><span>下一篇</span>无</a>	
					    	<?php }?>
						</div>
					</div>
					
			</div>
		</div>
		<!--底部-->
<?php include('app/index/public/html/_footer.html');?>
